package cn.edu.scut.maveDemo;


import org.apache.log4j.Logger;


/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        System.out.println( "Hello World!" );
        // System.out.println("This is println message.");  
        
        //测试maven是否已经正确导入log4j
        Logger logger = Logger.getLogger("App.class"); 
        // 记录debug级别的信息  
        logger.debug("This is debug message.");  
        // 记录info级别的信息  
        logger.info("This is info message.");  
        // 记录error级别的信息  
        logger.error("This is error message.");  
    }
}
